package com.gopay.common.core.dic.manager.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.core.dic.dao.DicPayChannelDAO;
import com.gopay.common.core.dic.manager.DicPayChannelManager;
import com.gopay.common.domain.dic.DicPayChannel;

/**
 * 内部帐
 * @AcpsSchemaAcctRelQueryManagerImpl.java
 * @author liujy
 * @2013-1-23 下午3:29:18  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("dicPayChannelManager")
public class DicPayChannelManagerImpl implements DicPayChannelManager {
    
    @Resource(name="dicPayChannelDAO")
    private DicPayChannelDAO dicPayChannelDAO;

    @Override
    public DicPayChannel get(Serializable id) {
        return dicPayChannelDAO.find(DicPayChannel.class, id);
    }

    @Override
    public List<DicPayChannel> get(Map<Object, Object> paraMap) {
        return null;
    }

    @Override
    public List<DicPayChannel> getAll() {
        return dicPayChannelDAO.findAll(DicPayChannel.class);
    }
}